package com.mf.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 数据字典
 * </p>
 *
 * @author mf
 * @since 2024-05-16
 */
@Getter
@Setter
@TableName("t_description")
public class Description {

@TableId(value = "id", type = IdType.AUTO)
private Integer id;

/**
 * 父级id
 */
@Schema(description = "父级id")
private Integer pid;

/**
 * 字典名称
 */
@Schema(description = "字典名称")
private String dName;

/**
 * 字典值
 */
@Schema(description = "字典值")
private String dValue;

private LocalDateTime createdTime;

private LocalDateTime updateTime;
        }